package com.glorysoft.knowlespda.entity.net;


import java.io.Serializable;

public class BaseResponseBean<T> implements Serializable {

    private ReturnBean<T> data;

    private int code;
    private String message;

    public ReturnBean<T> getData() {
        return data;
    }

    public void setData(ReturnBean<T> data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message == null ? "" : message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
